<script type="text/javascript">
	if (typeof(Reminder) != 'function'){
		var arr = <?= ($this->arrJsCss != '')?$this->arrJsCss:"''"?>;			
		loadfileJsCss(arr);
	}		
</script>
<div>
	<div class = "load_data_form_index">
		<form action="" method="POST" id="ReminderFrm" name="ReminderFrm" autocomplete="off">
			<?php
				$arrResult = $this->arrResult;
				$training_count = $this->training_count;
				$learning_count = $this->learning_count;
			?>
			<table width='100%' border='0' cellspacing='0' cellpadding='0' style="border-right:#000E7B;" align="center">
				<tr>
					<td style="height:1px;"></td>
				</tr>
				<tr>
		        	<td width="12px"></td>
					<td  style="background:url(<?= $this->baseUrl?>images/NotificationLeftImage.gif) top right no-repeat;line-height:48px; width:8px;" ></td>
					<td  style="background-image:url(<?= $this->baseUrl?>images/NotificationCenterImage.gif);line-height:48px; background-repeat:repeat-x;font-family:Arial, Helvetica, sans-serif;; color:#991900; text-align:left; font-weight:bold;padding:0; width:auto;">
						<?=$this->titleBody;?><br>	
					</td>
		           
					<td  style="background:url(<?= $this->baseUrl?>images/NotificationRightImage.gif) top left no-repeat;line-height:48px; width:8px;"></td>
					 <td width="12px"></td>
		        </tr>
			</table>
			<table width='99%' border='0' cellspacing='0' cellpadding='0' style="border-right:#000E7B; padding:0 12px;" align="center">
			<tr>
				<td id="td1" style="padding-top:4px;padding-left:11px;" valign="top" >
					<table cellpadding="0" cellspacing="0"   width="100%" style="border:1px solid #698fb2; border-collapse: collapse;  border-spacing:inherit; " bgcolor="#fafdfe">
						<tr>
							<td  style="background-image:url(<?= $this->baseUrl?>images/); line-height:29px;font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:bold;color:#000; padding-left:10px;">&nbsp;BÀI GIẢNG</td>
						</tr>
						<?php 
							if($arrResult[0]['TRAINING_IDEA'] > 0 ){ ?>
								<tr>
									<td style="border-top:1px solid #698fb2; line-height:29px; padding-left:20px;">										
										<a style="cursor:pointer;" class="small_link_reminder"  href="#" onclick="actionUrl('../../training/comment')">
											Có <?=$arrResult[0]['TRAINING_IDEA']?> bài giảng chờ cho ý kiến
										</a>	
									</td>
								</tr>
						<?php	} 
							if($arrResult[0]['TRAINING_REFUSED'] > 0 ){	?>
								<tr>
									<td style="border-top:1px solid #698fb2; line-height:29px; padding-left:20px;">						<a style="cursor:pointer;" class="small_link_reminder" onclick="myReminder.training_refuse();">
											Có <?=$arrResult[0]['TRAINING_REFUSED']?> bài giảng lãnh đạo trả lại
										</a>	
									</td>
								</tr>
						<?php	} 
							if($arrResult[0]['TRAINING_APPROVE'] > 0 ){	?>
								<tr>
									<td style="border-top:1px solid #698fb2; line-height:29px; padding-left:20px;">										
										<a style="cursor:pointer;" class="small_link_reminder"  href="#" onclick="actionUrl('../../training/approve')">
											Có <?=$arrResult[0]['TRAINING_APPROVE']?> bài giảng chờ duyệt
										</a>	
									</td>
								</tr>
						<?php  }
							if ($learning_count>$training_count) for($i=0;$i<$learning_count-$training_count;$i++){ ?>
								<tr>
									<td style="border-top:1px solid #698fb2; line-height:29px; padding-left:20px;">
										&nbsp;
									</td>
								</tr>
						<?php	}?>
					</table>
				</td>
				<!-- <td id="td2" style="padding-top:4px;padding-left:4px;padding-right:11px;" valign="top" width="50%">
					<table cellpadding="0" cellspacing="0"   width="100%" style="border:1px solid #698fb2; border-collapse: collapse;  border-spacing:inherit; " bgcolor="#fafdfe">
						<tr>
							<td  style="background-image:url(<?= $this->baseUrl?>images/); line-height:29px;font-family:Arial, Helvetica, sans-serif;font-size:14px; font-weight:bold;color:#000; padding-left:10px;">&nbsp;TƯ LIỆU HỌC TẬP</td>
						</tr>
						<?php 
							if($arrResult[0]['LEARNING_REFUSED'] > 0 ){ ?>
								<tr>
									<td style="border-top:1px solid #698fb2; line-height:29px; padding-left:20px;">										
										<a style="cursor:pointer;" class="small_link_reminder" onclick="myReminder.learning_refuse();">
											Có <?=$arrResult[0]['LEARNING_REFUSED']?> tư liệu học tập lãnh đạo trả lại
										</a>	
									</td>
								</tr>
						<?php	} 
							if($arrResult[0]['LEARNING_APPROVE'] > 0 ){	?>
								<tr>
									<td style="border-top:1px solid #698fb2; line-height:29px; padding-left:20px;">										
										<a style="cursor:pointer;" class="small_link_reminder"  href="#" onclick="actionUrl('../../learning/approve')">
											Có <?=$arrResult[0]['LEARNING_APPROVE']?> tư liệu học tập chờ duyệt
										</a>	
									</td>
								</tr>
						<?php  }
							if ($training_count>$learning_count) 
							for($i=0;$i<$training_count-$learning_count;$i++){ ?>
								<tr>
									<td style="border-top:1px solid #698fb2; line-height:29px; padding-left:20px;">&nbsp;</td>
								</tr>
						<?php	}?>
						</table>
					</td>
				</tr> -->
			</table>	
		</form>	
	</div>
</div>
<script type="text/javascript">
	$(document).ready(function(){
		fixTitle();
	});
	baseUrl = '<?=$this->baseUrl();?>';	
	myReminder = new Reminder(baseUrl,'mtl','reminder');
	urlPath = myReminder.urlPath;
</script>	
<style type="text/css">
</style>